package com.zbw;

public class ThreadLambda {
    public static void main(String args[]){
        new Thread(thread).start();

    }
    static Runnable thread = ()->{
        for(int i=0;i<2000;i++){
            System.out.println("执行run方法");
        }
    };
}
